<?php
#
# author: Phil Spagnolo
# (c)2008 South Hill Calvary Chapel
#

include_once("./root.inc.php");
include_once("${root}/common.php");
include("${root}/mysql/database_info.php");
include("${root}/mysql/common.php");

$title = "Contact Information";
$meta_key= 'contact, information, phone, e-mail, fax, email, call, address, reach, church';
$meta_desc="The contact information for South Hill Calvary Chapel in Puyallup, WA.";
print_html_head($title ,$meta_key,$meta_desc);

print_java_head(NULL);
begin_body();
page_title($title);
?>

<div id='contacts'>
<ul>

<li>
<h4>Office Mailing Address and Phone</h4>
<strong>South Hill Calvary Chapel</strong><br>
1902 South Meridian<br>
Puyallup, WA 98371<br><br>
Phone: 253.841.5680<br>
Fax: 253.841.5672<br>
Email:  <a href='mailto:mail@southhillcalvary.org'>mail@southhillcalvary.org</a><br>
</li>

<li>
<h4>Pastor on Call</h4>
After hours prayer and support<br>
Phone: 253.841.5680 ext 2<br>
</li>

<li>
<a href="http://eepurl.com/svnwz" target="_blank">
<br><h4>Join our Email Mailing List</h4>
Click here to sign up for our Email mailing list.</a>
</li>
</ul>
</div>

<?php
printf("<div class='clear'></div>\n");

printf("<br/>\n");
$table = "people";
connect_select_test($table);
$query="SELECT * FROM $table WHERE leader='1' or staff='1' ORDER BY display_order ASC";
$result=mysql_query($query) or die (mysql_error());
$num_rows=mysql_num_rows($result);
contact_table($result, $num_rows, "Church Leadership and Staff");
mysql_close();

$table = "contact_ministry";
connect_select_test($table);
$query="SELECT * FROM $table ORDER BY position ASC";
$result=mysql_query($query) or die (mysql_error());
$num_rows=mysql_num_rows($result);
contact_table($result, $num_rows, "Ministry Contacts");
mysql_close();

end_page_title();
end_body();
?>
